package com.sc.nft.entity.vo;

import com.sc.nft.enums.SignboardEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class AdminExternalLinkListVO {

    @ApiModelProperty("唯一标识id")
    private Long id;

    @ApiModelProperty("icon表唯一标识id")
    private Long iconId;

    @ApiModelProperty("外链名称")
    private String name;

    @ApiModelProperty("dao表id")
    private Long daoId;

    @ApiModelProperty("外链头像")
    private String faceUrl;

    @ApiModelProperty("外链转跳地址 - 跳转小程序path字段")
    private String url;

    @ApiModelProperty("排序,越大越靠前")
    private Integer sort;

    @ApiModelProperty("0:跳转页面 1:跳转app 2：小程序")
    private Integer type;

    @ApiModelProperty("是否需要验签")
    private Boolean isSign;

    @ApiModelProperty("标签类型")
    private SignboardEnum signboard;

    @ApiModelProperty("小程序原始Id")
    private String appId;

    @ApiModelProperty("AppId")
    private String mtAppId;

    public void setSignboard(Integer signboard) {
        this.signboard = SignboardEnum.getEnum(signboard);
    }

}
